package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.HealthAssessment;
import org.dey.pojo.Member;
import org.dey.pojo.PageVo;

import java.util.List;

public interface HealthAssessmentService extends IService<HealthAssessment> {

    public PageVo<HealthAssessment> queryHa(HealthAssessment healthAssessment, int pageNum, int pageSize);

    //增
    public Result addHa(HealthAssessment healthAssessment);


    //删
    public Result delHa(int id);

    //修改前先根据id查到该数据
    public HealthAssessment queryHaByid(int haid);

    //根据id修改
    public int updateHa(HealthAssessment healthAssessment);

    public List<Member> queryTorList() ;
}
